package org.abettor.pushbox.receiver;

import org.abettor.pushbox.notify.NotifyUtil;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
 * 定时接收器
 * @author jzh
 *
 */
public class TimerReceiver extends BroadcastReceiver{
	@Override
	public void onReceive(Context context, Intent intent) {
		//每次重新注册重新通知的消息
		NotifyUtil.registerReceiverAlarm(context, TimerReceiver.class);
		//启动更新通知的服务
		NotifyUtil.startNotifyService(context);
	}
}
